package com.yuanfeng.job.job;


import com.yuanfeng.commoms.util.ResponseResult;
import com.yuanfeng.job.service.UpdateCommonStatuJobService;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 
 * @author xs
 *	定时下架库存为0的商品
 */
public class UpdateCommonStatuJob implements BaseJob {
	private static final Logger logger = LoggerFactory.getLogger(UpdateCommonStatuJob.class);
	@Autowired
	private UpdateCommonStatuJobService updateCommonStatuJobService;

	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {

		ResponseResult resp = updateCommonStatuJobService.queryGoodsIdByState();
	}
	
}
